/* eslint-disable no-useless-escape */

export const date = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(\s+(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d)*$/;
export const dateTime = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\s+(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
export const doubleNumber = /^[-+]?\d+(\.\d+)?$/
export const landline = /^((0\d{2,3})-)?(\d{7,8})(-(\d{3,}))?$/
export const mobile = /^1(2|3|4|5|6|7|8|9)\d{9}$/
export const chinese = /^[\u0391-\uFFE5]+$/
export const phoneOther = /^[0-9\-]*$/
export const number1 = /^\d+$/
export const english = /^[A-Za-z]+$/
